﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using DAL;

using System.Data.SqlClient;

namespace BLL
{
   public class PartsBll
    {
       PartsDal dal = new PartsDal();
       /// <summary>
       /// 显示
       /// </summary>
       /// <param name="paramters"></param>
       /// <returns></returns>
       public List<Parts> Shows(params SqlParameter[] paramters)
       {
           return dal.Show(paramters);
       } 
       public List<Parts> ShowParts()
       {
           return dal.Show();
       }       public bool AddParts(Parts pa)
       {
           return dal.Add(pa);
       }    }
}
